<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人名片</title>
</head>
<body>
<div class="parent">
    <div class="child">
        <div class="childTop"></div>
        <div class="middle">
            <div class="childleft">
                <h2>姓名:张三</h2>
                <p>职位:&emsp;java讲师</p>
                <p>手机号:&emsp;110</p>
                <p>QQ号:&emsp;110</p>
                <p>邮箱:&emsp;110@qq.com</p>
            </div>
            <div class="childright">
            </div>
        </div>


    </div>
</div>
</body>
<style>
    * {
        box-sizing: border-box;

    }

    .parent {
        height: 700px;
        width: 100%;
        background-color: white;
        background-image: url("../../../imgs/2.jpg");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        position: relative;
    }

    .child {
        height: 300px;
        width: 500px;
        background-color: white;
        border-radius: 10px;
        position: relative;
        left: 400px;
        top: 200px
    }

    .childTop {
        border-radius: 10px;
        height: 100px;
        width: 500px;
        background-color: white;
        background-image: url("../../../imgs/407975acf24dd3edf2206b99b5061b1.png");
        background-size: 100% auto;
        background-repeat: no-repeat;
        position: absolute;


    }
    .childleft{
        height: 200px;
        width: 55%;
        border-radius: 10px;
        background-color: white;
        margin-left: 30px;

        position: absolute;

    }
    .childright{
        height:150px;
        width: 150px;
        border-radius: 50%;
        background-color: black;
        background-image: url("../../../imgs/xjpic.jpg");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        float: right;
        margin-top: 20px;
        margin-right: 30px;
    }
    .middle{
        height:200px;
        width: 500px;
        position: absolute;
        margin-top: 90px;

    }
</style>
</html>
